/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * JFrame_TimMail.java
 *
 * Created on May 28, 2009, 8:22:00 AM
 */

package doanlythuyet_javaoutlook.MyUserControl;

/**
 *
 * @author Dang Thi Phuong Thao
 */
public class JFrame_TimMail extends javax.swing.JFrame {

    /** Creates new form JFrame_TimMail */
    public JFrame_TimMail() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jComboBox_noichua = new javax.swing.JComboBox();
        jLabel2 = new javax.swing.JLabel();
        jComboBox_tieuchi = new javax.swing.JComboBox();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable_danhsachmail = new javax.swing.JTable();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTextArea_noidung = new javax.swing.JTextArea();
        jRadioButton_giongtatca = new javax.swing.JRadioButton();
        jRadioButton_giongvaitu = new javax.swing.JRadioButton();
        jButton_tim = new javax.swing.JButton();
        jButton_xoaketqua = new javax.swing.JButton();
        jButton_Mo = new javax.swing.JButton();
        jButton_xoa = new javax.swing.JButton();
        jButton_luu = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(doanlythuyet_javaoutlook.DoAnLyThuyet_JavaOutLookApp.class).getContext().getResourceMap(JFrame_TimMail.class);
        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        jComboBox_noichua.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Inbox", "Deleted" }));
        jComboBox_noichua.setName("jComboBox_noichua"); // NOI18N

        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        jComboBox_tieuchi.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Chủ đề", "Người gởi", "Ngày", "Mức độ", "Tình trạng", " " }));
        jComboBox_tieuchi.setName("jComboBox_tieuchi"); // NOI18N

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        jTable_danhsachmail.setBackground(resourceMap.getColor("jTable_danhsachmail.background")); // NOI18N
        jTable_danhsachmail.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        jTable_danhsachmail.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null},
                {null, null, null, null, null}
            },
            new String [] {
                "Chủ đề", "Người gởi", "Ngày", "Mức độ", "Thư mục chứa"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jTable_danhsachmail.setName("jTable_danhsachmail"); // NOI18N
        jScrollPane1.setViewportView(jTable_danhsachmail);

        jScrollPane2.setName("jScrollPane2"); // NOI18N

        jTextArea_noidung.setColumns(20);
        jTextArea_noidung.setRows(5);
        jTextArea_noidung.setName("jTextArea_noidung"); // NOI18N
        jScrollPane2.setViewportView(jTextArea_noidung);

        jRadioButton_giongtatca.setText(resourceMap.getString("jRadioButton_giongtatca.text")); // NOI18N
        jRadioButton_giongtatca.setName("jRadioButton_giongtatca"); // NOI18N

        jRadioButton_giongvaitu.setText(resourceMap.getString("jRadioButton_giongvaitu.text")); // NOI18N
        jRadioButton_giongvaitu.setName("jRadioButton_giongvaitu"); // NOI18N

        jButton_tim.setText(resourceMap.getString("jButton_tim.text")); // NOI18N
        jButton_tim.setName("jButton_tim"); // NOI18N

        jButton_xoaketqua.setText(resourceMap.getString("jButton_xoaketqua.text")); // NOI18N
        jButton_xoaketqua.setName("jButton_xoaketqua"); // NOI18N

        jButton_Mo.setText(resourceMap.getString("jButton_Mo.text")); // NOI18N
        jButton_Mo.setName("jButton_Mo"); // NOI18N

        jButton_xoa.setText(resourceMap.getString("jButton_xoa.text")); // NOI18N
        jButton_xoa.setName("jButton_xoa"); // NOI18N

        jButton_luu.setText(resourceMap.getString("jButton_luu.text")); // NOI18N
        jButton_luu.setName("jButton_luu"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 619, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                .addComponent(jLabel1)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jComboBox_noichua, 0, 249, Short.MAX_VALUE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                .addComponent(jRadioButton_giongtatca)
                                .addGap(63, 63, 63)
                                .addComponent(jRadioButton_giongvaitu)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jButton_tim)
                            .addComponent(jLabel2))
                        .addGap(5, 5, 5)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jButton_xoaketqua)
                            .addComponent(jComboBox_tieuchi, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 619, Short.MAX_VALUE))
                .addGap(31, 31, 31))
            .addGroup(layout.createSequentialGroup()
                .addGap(112, 112, 112)
                .addComponent(jButton_Mo)
                .addGap(66, 66, 66)
                .addComponent(jButton_xoa)
                .addGap(55, 55, 55)
                .addComponent(jButton_luu)
                .addContainerGap(277, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jComboBox_tieuchi, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jComboBox_noichua, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel2))
                .addGap(17, 17, 17)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jRadioButton_giongtatca)
                    .addComponent(jRadioButton_giongvaitu)
                    .addComponent(jButton_tim)
                    .addComponent(jButton_xoaketqua))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton_Mo)
                    .addComponent(jButton_luu)
                    .addComponent(jButton_xoa))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new JFrame_TimMail().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton_Mo;
    private javax.swing.JButton jButton_luu;
    private javax.swing.JButton jButton_tim;
    private javax.swing.JButton jButton_xoa;
    private javax.swing.JButton jButton_xoaketqua;
    private javax.swing.JComboBox jComboBox_noichua;
    private javax.swing.JComboBox jComboBox_tieuchi;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JRadioButton jRadioButton_giongtatca;
    private javax.swing.JRadioButton jRadioButton_giongvaitu;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JTable jTable_danhsachmail;
    private javax.swing.JTextArea jTextArea_noidung;
    // End of variables declaration//GEN-END:variables

}
